package com.ruoyi.basedocument.service;

import java.util.HashMap;
import java.util.List;
import com.ruoyi.basedocument.domain.BomRawmaterial;

/**
 * BOM原材料Service接口
 * 
 * @author ruoyi
 * @date 2024-09-12
 */
public interface IBomRawmaterialService 
{
    /**
     * 查询BOM原材料
     * 
     * @param id BOM原材料主键
     * @return BOM原材料
     */
    public BomRawmaterial selectBomRawmaterialById(String id);

    /**
     * 查询BOM原材料列表
     * 
     * @param bomRawmaterial BOM原材料
     * @return BOM原材料集合
     */
    public List<BomRawmaterial> selectBomRawmaterialList(BomRawmaterial bomRawmaterial);

    /**
     * 查询BOM原材料列表
     *
     * @param bomRawmaterial BOM原材料
     * @return BOM原材料集合
     */
    public List<BomRawmaterial> selectBomRawmaterialList2(BomRawmaterial bomRawmaterial);

    /**
     * 新增BOM原材料
     * 
     * @param bomRawmaterial BOM原材料
     * @return 结果
     */
    public int insertBomRawmaterial(BomRawmaterial bomRawmaterial);

    /**
     * 修改BOM原材料
     * 
     * @param bomRawmaterial BOM原材料
     * @return 结果
     */
    public int updateBomRawmaterial(BomRawmaterial bomRawmaterial);

    /**
     * 批量删除BOM原材料
     * 
     * @param ids 需要删除的BOM原材料主键集合
     * @return 结果
     */
    public int deleteBomRawmaterialByIds(String[] ids);

    /**
     * 删除BOM原材料信息
     * 
     * @param id BOM原材料主键
     * @return 结果
     */
    public int deleteBomRawmaterialById(String id);
    public HashMap introductionPrice(String[] numbers);
}
